<template>
  <div>
      <p v-for="(item,index) in itemlist.itemList" :key="index">{{item.content}}</p>
  </div>
</template>

<script>
export default {
    data(){
        return{

        }
    },
  inject:['list','id'],
  computed:{
      itemlist(){
          return this.list[this.id()]
      }
  }
}
</script>

<style lang="less" scoped>

</style>